projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e53f90
)
GtkCellRendererToggle: update documentation of 'toggled' signal
author
Dan Williams
<dcbw@redhat.com>
Thu, 10 Oct 2013 20:33:36 +0000
(15:33 -0500)
committer
Dan Williams
<dcbw@redhat.com>
Thu, 10 Oct 2013 20:33:36 +0000
(15:33 -0500)
Clarify that applications are expected to handle updating the model
from the 'active' property, like GtkCellRendererText does for the
'edited' property.
gtk/gtkcellrenderertoggle.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcellrenderertoggle.c
b/gtk/gtkcellrenderertoggle.c
index bee988e39d0db6b7db10619b3aace06944a4522c..77174c87749ec4f8a54c48c984acd76bb6999962 100644
(file)
--- a/
gtk/gtkcellrenderertoggle.c
+++ b/
gtk/gtkcellrenderertoggle.c
@@
-181,6
+181,9
@@
gtk_cell_renderer_toggle_class_init (GtkCellRendererToggleClass *class)
* event location
*
* The ::toggled signal is emitted when the cell is toggled.
+ *
+ * It is the responsibility of the application to update the model
+ * and store the "active" property at the position indicated by @path.
**/
toggle_cell_signals[TOGGLED] =
g_signal_new (I_("toggled"),